package com.ruoyi.gd.ywd.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.gd.ywd.domain.ZYwd;
import com.ruoyi.gd.ywd.domain.bo.ZYwdBo;
import com.ruoyi.gd.ywd.domain.vo.ZYwdVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Collection;
import java.util.List;

/**
 * 业务单Mapper接口
 *
 * @author ruoyi
 * @date 2024-03-17
 */
public interface ZYwdMapper extends BaseMapperPlus<ZYwdMapper, ZYwd, ZYwdVo> {


    List<ZYwdVo> selectByIds(String[] ids);

    int updateBatchByIds(String[] ids);

    void updateByZbbh(ZYwd zYwd);

    List<ZYwdVo> calendarList(String sfyxc);

    int batchDeleteIds(Collection<String> ids);

    List<ZYwdVo> queryList(Page<ZYwdVo> page, @Param(value = "bo")ZYwdBo bo);

    List<ZYwdVo> selectByIdsWgd(String[] ids);
}
